home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
pctj1086.arc
/
DRAWPOLY.DEF
< prev
next >
Wrap
Text File
|
1986-07-21
|
601b
|
19 lines
DEFINITION MODULE DrawPoly;
(*
Title : DrawPoly.DEF -- Draw lines and boxes
LastEdit: July 22, 1986
Author : John T. Cockerham, M.D.
System : LOGITECH MODULA-2/86
*)
FROM LowEGA IMPORT DrawPoint;
FROM PointLib IMPORT Point;
EXPORT QUALIFIED DrawLine, DrawBox;
(*Draw a line from p1 to p2 in color 'color' *)
PROCEDURE DrawLine(p1, p2 : Point; color : CARDINAL);
(* Draw a Box with the two points specifying two opposite
corners. Color the lines according to palette c *)
PROCEDURE DrawBox(UpperLeft, LowerRight : Point; c : CARDINAL);
END DrawPoly.